<?php
  
        require "../../system/framework.php"; 
            
        
        $table = $_REQUEST['table'];
        $table = explode(",", $table);
        
        
        $export = datastructure::exportDatastructure($table);
          
          
          $filename = "/tmp/export_$table.txt";
        file::createTextFileArray($filename, $export);
  
  file::downloadFile($filename);
  
  
  
?>
